@import '../../../assets/styles/mixin.less';

#grade {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fafafa;
  @height: 174rpx;
  .view-container{
    .banner-list{
      height: 172rpx;
      margin-top:14rpx;
      .banner-item{
        display: flex;
        align-items: center;
        justify-content: center;
        image{
          width: 694rpx;
          height: 172rpx;
          border-radius:12rpx;
        }
      }

    }
    .desc-list{
      height: 40rpx;
      .swiper-item{
        display: flex;
        align-items: center;
        padding:0 30rpx;
        .desc{
          font-size: 24rpx;
          font-weight: 400;
          color: #999999;
        }
        .name{
          font-size: 24rpx;
          font-weight: 400;
          color: #3B70E4;
          margin-right:24rpx;
        }
      }
    }
  }

  .advert {
    width: 100%;
    height: 150rpx;
    position: relative;
    .share-button {
      width: 100%;
      height: 100%;
      padding: 0;
      border-radius: 0;
      border: 0px;
      background-color: #fff;
      &::after {
        border: 0;
      }
      .advert-bg {
        width: 100%;
        height: 100%;
      }
    }
    .close {
      position: absolute;
      top: 0rpx;
      right: 0rpx;
      width: 30rpx;
      height: 30rpx;
      padding: 20rpx;
    }
  }

  .stu-content {
    width: 100%;
    height: @height;
    background-size: 100% 100%;
    .bg-opacity {
      display: flex;
      flex-direction: column;
      width: 100%;
      height: @height;
      // background-color: rgba(33, 114, 237, 0.45);
      .stu-details {
        display: flex;
        align-items: center;
        margin: 24rpx 32rpx;
        .download {
          // border-radius: 40rpx;
          // padding: 15rpx;
          // font-size: 26rpx;
          // color: rgba(33, 114, 237, 1);
          // background: #fff;
          width: 188rpx;
          height: 52rpx;
          background: #3B70E4;
          border-radius: 34rpx;
          font-size: 20rpx;
          color:#fff;
          display: flex;
          align-items: center;
          justify-content: center;
          &:not(:last-child){
            margin-bottom:16rpx;
          }
        }
        .stu-img {
          width: 120rpx;
          height: 120rpx;
          flex: 0 0 120rpx;
          border-radius: 50%;
          border: 1.5px solid #ffffff;
          overflow: hidden;
          .img {
            width: 100%;
            height: 100%;
          }
        }
        .stu-info {
          height: 120rpx;
          flex: 3;
          display: flex;
          flex-direction: column;
          justify-content: center;
          margin-left: 24rpx;
          font-size: 32rpx;
          color: #333333;
          .name{
            font-size: 32rpx;
            font-weight: 500;
            margin-bottom:14rpx;
          }
          .student-id{
            font-size: 28rpx;
          }
        }
      }
      .stu-grade {
        display: flex;
        flex-direction: column;
        margin: 0 24rpx 40rpx 24rpx;
        .grade-content {
          flex: 1;
          display: flex;
          justify-content: space-between;
          .grade-item {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 336rpx;
            height: 60rpx;
            background: rgba(0, 0, 0, 0.2);
            border: 1rpx solid rgba(250, 250, 250, 0.2);
            border-radius: 30rpx;
            color: #ffffff;
            font-size: 24rpx;
          }
        }
        .space {
          margin-bottom: 20rpx;
        }
      }
    }
  }
  .xnxq-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24rpx;
    height: 88rpx;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0px -4rpx 20rpx 2rpx #DCE5EF;
    .xnxq-title {
      font-size: 36rpx;
      font-weight: bold;
      color: #111111;
    }
    .xnxq-content {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 320rpx;
      height: 48rpx;
      // padding: 0 32rpx;
      font-size: 26rpx;
      color: #666666;
      border-radius: 24rpx;
      box-shadow: 0px 2px 3px 0px rgba(33, 114, 237, 0.15);
      border: 1rpx solid rgba(238, 238, 238, 1);
      background: #F4F5F7;
      .icon {
        font-size: 22rpx;
        margin-left: 12rpx;
      }
    }
  }

  .scroll-grade {
    position: absolute;
    top: 474rpx;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-top: 1px solid #eeeeee;
    // 隐藏滚动条
    ::-webkit-scrollbar {
      width: 0;
      height: 0;
      color: transparent;
    }
    .grade-list {
      background-color: #fff;
      .item {
        display: flex;
        align-items: center;
        height: 88rpx;
        font-size: 30rpx;
        border-bottom: 1px solid #eeeeee;
        .title-class {
          flex: 3;
          margin-left: 24rpx;
          .no-wrap-number(1);
        }
        .title-num {
          flex: 1;
          text-align: center;
        }
        .color_blue {
          color: #2172ed;
        }
      }
      .color_black3 {
        color: #333333;
        border-top: 1px solid #eeeeee;
        background: #F4F5F7;
        &:first-child {
          border-top: none;
        }
      }
      .color_black1 {
        color: #111111;
      }
    }
  }
}
